import numpy as np

data = np.random.normal(0, 1, (100,))
print(np.mean(np.log(data ** 2 + 1)))
print(np.log(np.mean(data ** 2 + 1)))
